﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="BuySell.aspx.cs" Inherits="BuySell" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">

        .style86
    {
        text-align: center;
        background-color: #FFFFFF;
        height: 64px;
    }
    td {
        background-color: #FFFFFF;
        background: #CCFFCC;
        font-family: Arvo, serif;
    }
    .style88
    {
        color: #000000;
    }
    .style85
    {
        width: 130px;
        text-align: center;
        background-color: #FFFFFF;
        height: 170px;
    }
    .style72
    {
        height: 201px;
        width: 223px;
    }
    .style42
    {
        color: #FFFFCC;
        font-size: larger;
    }
    .style78
    {
        color: #FFFFFF;
        background-color:Navy;
        height: 10px;
        text-align: center;
            font-weight: normal;
            font-size: large;
        }
    th {
        background-color: #FFFFFF;
        background: #CCCCCC;
        font-family: Arvo, serif;
    }
    .style62
    {
        color: #FFFFFF;
    }
        .style92
        {
            color: Navy;
            background-color: #CCFFCC;
            width: 132px;
            height: 27px;
            font-size: large;
            text-align: center;
        }
        .style97
        {
            color: #FFFFFF;
            background-color: #CCFFCC;
            width: 43px;
            height: 2px;
        }
        .style100
        {
            color: Navy;
            background-color: #CCFFCC;
            width: 59px;
            height: 35px;
            font-size: large;
            text-align: center;
        }
        .style102
        {
            color: #FFFFFF;
            background-color: #CCFFCC;
            width: 126px;
            height: 2px;
            text-align: center;
        }
        .style103
        {
            color: #FFFFFF;
            background-color: #CCFFCC;
            height: 2px;
            width: 91px;
        }
        .style104
        {
            color: Navy;
            background-color: #CCFFCC;
            width: 36px;
            height: 35px;
            font-size: large;
            text-align: center;
        }
        #Text1
        {
            width: 32px;
        }
        .style107
        {
            color: #99FF33;
            height: 13px;
            width: 138px;
            text-align: center;
        }
        .style109
        {
            color: #000000;
            height: 21px;
            width: 132px;
            font-size: large;
            text-align: center;
        }
        .style111
        {
            color: #99FF33;
            height: 13px;
        }
        .style113
        {
            color: #000000;
            height: 29px;
            font-size: large;
            text-align: center;
        }
        #Text2
        {
            width: 32px;
        }
        .style115
        {
            color: Navy;
            background-color: #CCFFCC;
            height: 29px;
            width: 104px;
            font-size: large;
            text-align: center;
        }
        .style116
        {
            color: #66FF33;
            background-color: #FFCCCC;
            width: 131px;
            height: 2px;
            text-align: center;
        }
        .style118
        {
            color: #CC3300;
            background-color: #FFCCCC;
            width: 177px;
            height: 27px;
            font-size: large;
            text-align: center;
        }
        .style119
        {
            color: Navy;
            background-color: #CCFFCC;
            height: 21px;
            width: 177px;
            font-size: large;
            text-align: center;
        }
        .style120
        {
            color: #66FF33;
            background-color: #CCFFCC;
            height: 13px;
        }
        #Text3
        {
            width: 32px;
        }
        .style121
        {
            color: #CC3300;
            background-color: #FFCCCC;
            width: 104px;
            height: 35px;
            font-size: large;
            text-align: center;
        }
        #Text4
        {
            width: 32px;
        }
        .style124
        {
            width: 10px;
            height: 14px;
        }
        #Text7
        {
            width: 32px;
        }
        #Text5
        {
            width: 32px;
        }
        #Text8
        {
            width: 32px;
        }
        #Text6
        {
            width: 32px;
        }
        .style125
        {
            width: 462px;
            height: 324px;
            float: left;
        }
        #Text5
        {
            width: 32px;
        }
        #Text6
        {
            width: 32px;
        }
        #Text7
        {
            width: 32px;
        }
        #Text8
        {
            width: 32px;
        }
        #Text8
        {
            width: 32px;
        }
        #Text9
        {
            width: 32px;
        }
        #Text9
        {
            width: 32px;
        }
        .style145
        {
            color: #000000;
            height: 29px;
            font-size: large;
            width: 36px;
            text-align: center;
        }
        .style146
        {
            color: #66FF33;
            background-color: #FFCCCC;
            width: 79px;
            height: 2px;
        }
        .style147
        {
            color: #66FF33;
            background-color: #FFCCCC;
            width: 45px;
            height: 2px;
        }
        .style148
        {
            color: Navy;
            background-color: #CCFFCC;
            height: 29px;
            width: 56px;
            font-size: large;
            text-align: center;
        }
        .style149
        {
            color: #CC3300;
            background-color: #FFCCCC;
            width: 56px;
            height: 35px;
            font-size: large;
            text-align: center;
        }
        .style150
        {
            color: #99FF33;
            height: 13px;
            width: 36px;
        }
        .style157
        {
            height: 205px;
            background-color: #FFFFFF;
            text-align: center;
        }
        .style158
        {
            height: 19px;
            text-align: center;
            background-color: Navy;
        }
        .style159
        {
            width: 37px;
            color: #FFFFFF;
            font-weight: bold;
            text-align: center;
            background-color: Navy;
        }
        .style160
        {
            height: 19px;
            width: 57px;
            font-weight: bold;
            text-align: center;
            background-color: Navy;
        }
        .style161
        {
            width: 57px;
            text-align: center;
            background-color: #FFFFCC;
        }
        .style162
        {
            height: 19px;
            width: 63px;
            font-weight: bold;
            text-align: center;
            background-color: Navy;
        }
        .style163
        {
            width: 63px;
            text-align: center;
            background-color: #FFFFCC;
        }
        .style164
        {
            height: 19px;
            width: 37px;
            text-align: center;
            background-color: Navy;
        }
        .style165
        {
            width: 37px;
            color: #FFFFFF;
            height: 19px;
            font-weight: bold;
            text-align: center;
            background-color: Navy;
        }
        .style166
        {
            width: 57px;
            height: 19px;
            text-align: center;
            background-color: #FFFFCC;
        }
        .style167
        {
            width: 63px;
            height: 19px;
            text-align: center;
            background-color: #FFFFCC;
        }
        .style168
        {
            height: 19px;
            background-color: #FFFFCC;
        }
        .style169
        {}
        #Text10
        {
            width: 52px;
        }
        #Text11
        {
            width: 52px;
        }
        #Text12
        {
            width: 52px;
        }
        #Text13
        {
            width: 52px;
        }
        #Text14
        {
            width: 52px;
        }
        #Text15
        {
            width: 52px;
        }
        #Text16
        {
            width: 52px;
        }
        #Text17
        {
            width: 52px;
        }
        .style184
        {
            color: #66FF33;
            background-color: #CCFFCC;
            height: 13px;
            text-align: center;
        }
        .style188
        {
            background-color: #FFFFFF;
            text-align: left;
            width: 130px;
            height: 163px;
        }
        .style191
        {
            color: #FFFFFF;
            background-color: #99CCFF;
        }
    .style2
    {
        color: #FFFFCC;
    }
        .style196
        {
            text-align: left;
            background-color: #FFFFFF;
            height: 64px;
            width: 130px;
        }
        .style197
        {
            width: 10px;
            height: 14px;
            color: #000000;
        }
        .style198
        {
            width: 220px;
            background-color: #FFFFCC;
        }
        .style199
        {
            width: 61px;
            color: #FFFFFF;
            font-weight: 700;
            background-color: Navy;
        }
        .style200
        {
            color: #FF0000;
            width: 220px;
            height: 26px;
            background-color: #FFFFCC;
        }
        .style203
        {
            width: 61px;
            color: #FFFFFF;
            height: 26px;
            font-weight: 700;
            background-color: Navy;
        }
        .style212
        {
            width: 438px;
            height: 63px;
        }
        .style213
        {
            height: 27px;
            width: 66px;
            background-color: #3366FF;
        }
        .style214
        {
            height: 27px;
            width: 51px;
            background-color: #3366FF;
        }
        .style218
        {
            height: 28px;
            width: 66px;
            color: #000000;
            background-color: #FFFFFF;
        }
        .style219
        {
            height: 28px;
            width: 51px;
            color: #000000;
            background-color: #FFFFFF;
        }
        .style220
        {
            height: 27px;
            width: 37px;
            background-color: #3366FF;
        }
        .style221
        {
            height: 28px;
            width: 37px;
            color: #000000;
            background-color: #FFFFFF;
        }
        .style222
        {
            height: 27px;
            width: 53px;
            background-color: #3366FF;
        }
        .style223
        {
            height: 28px;
            width: 53px;
            color: #000000;
            background-color: #FFFFFF;
        }
        .style224
        {
            color: #000000;
            background-color: #FFFFCC;
        }
        .style225
        {
            background-color: #FFFFCC;
        }
        .style226
        {
            width: 61px;
            color: #FFFFFF;
            height: 24px;
            font-weight: 700;
            background-color:Navy;
        }
        .style227
        {
            width: 220px;
            height: 24px;
            background-color: #FFFFCC;
        }
        .style229
        {
            height: 86px;
            background-color: #FFFFFF;
            text-align: center;
        }
        .style230
        {
            height: 163px;
            background-color: #FFFFFF;
            text-align: center;
        }
        .style231
        {
            background-color: #FFFFCC;
            width: 96px;
        }
    </style>
	<script type="text/javascript">
	    function _Popup(pageURL) {
	        var w = (screen.width * 0.5);
	        var h = (screen.height * 0.4);
	        var l = (screen.width / 2) - (w / 2);
	        var t = (screen.height / 2) - (h / 2);
	        var param = 'width=' + w + ', height=' + h + ', left=' + l + ', top=' + t + ', scrollbars, resizable, status';
	        return window.open(pageURL, '', param);
	    };
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <table align="center" 
        style="height: 818px; background-color: #FFFFFF; width: 798px;">
        <tr>
            <td align="justify" class="style196">
                <span class="style88">Get Quotes: </span>
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox1" runat="server" CssClass="style87" Width="150px"></asp:TextBox>
                <asp:Button ID="Button14" runat="server" Text="Search" />
            </td>
            <td align="center" class="style86">
                <table align="center" 
                    style="width: 60%; height: 79px; color: #000000; background-color: #FFFFFF;">
                    <tr>
                        <td align="center" class="style226">
                            Cash</td>
                        <td align="center" class="style227">
                            <strong>25,000</strong></td>
                    </tr>
                    <tr>
                        <td align="center" class="style199">
                            Networth</td>
                        <td align="center" class="style198">
                            15,000</td>
                    </tr>
                    <tr>
                        <td align="center" class="style203">
                            Gains</td>
                        <td align="center" class="style200">
                            -10,000</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="justify" class="style85" rowspan="2">
                <img alt="" class="style125" src="Images/STgraph.jpg" /></td>
            <td bgcolor="White" class="style157" align="center">
                &nbsp;
                <table align="center" border="1" class="style72">
                    <tr class="style42">
                        <th class="style78" colspan="12" scope="col">
                            <strong>My Stocks</strong></th>
                    </tr>
                    <tr class="style42">
                        <th class="style109" scope="col" colspan="6">
                            AAPL</th>
                        <th class="style119" scope="col" colspan="6">
                            GOOG
                            <img alt="" class="style124" src="Images/SmallArrowUp.gif" /></th>
                    </tr>
                    <tr class="style42">
                        <th class="style145" scope="col" colspan="3">
                            690.79</th>
                        <th class="style113" scope="col" colspan="3">
                            650.79</th>
                        <th class="style115" scope="col" colspan="3">
                            751.33</th>
                        <th class="style148" scope="col" colspan="3">
                            752.00</th>
                    </tr>
                    <tr class="style42">
                        <th class="style111" scope="col" colspan="2">
                            <asp:Button ID="Button17" runat="server" Text="Buy" onclick="Button17_Click" OnClientClick="_Popup('StockBuy.aspx')" />
                        </th>
                        <th class="style107" scope="col" colspan="2">
                            &nbsp;</th>
                        <th class="style150" scope="col" colspan="2">
                            <asp:Button ID="Button18" runat="server" Text="Sell" onclick="Button17_Click" OnClientClick="_Popup('StockSell.aspx')" />
                        </th>
                        <th class="style120" scope="col" colspan="2">
                            <asp:Button ID="Button21" runat="server" Text="Buy" onclick="Button17_Click" OnClientClick="_Popup('StockBuy.aspx')" />
                        </th>
                        <th class="style184" scope="col" colspan="2">
                            &nbsp;</th>
                        <th class="style120" scope="col" colspan="2">
                            <asp:Button ID="Button22" runat="server" Text="Sell" onclick="Button17_Click" OnClientClick="_Popup('StockSell.aspx')" />
                        </th>
                    </tr>
                    <tr class="style42">
                        <th class="style92" scope="col" colspan="6">
                        &nbsp;SSU.DE&nbsp;&nbsp;<img alt="" class="style124" src="Images/SmallArrowUp.gif" /></th>
                        <th class="style118" scope="col" colspan="6">
                            YHOO<img alt="" class="style124" src="Images/SmallArrowDown.gif" /></th>
                    </tr>
                    <tr class="style42">
                        <th class="style104" scope="col" colspan="3">
                            454.00</th>
                        <th class="style100" scope="col" colspan="3">
                            456.50</th>
                        <th class="style121" scope="col" colspan="3">
                            16.00</th>
                        <th class="style149" scope="col" colspan="3">
                            15.59</th>
                    </tr>
                    <tr class="style42">
                        <th class="style97" scope="col">
                            <asp:Button runat="server" Text="Buy" onclick="Button17_Click" OnClientClick="_Popup('StockBuy.aspx')" />
                        </th>
                        <th class="style102" scope="col" colspan="4">
                            &nbsp;</th>
                        <th class="style103" scope="col">
                            <asp:Button ID="Button16" runat="server" Text="Sell" onclick="Button17_Click" OnClientClick="_Popup('StockSell.aspx')" />
                        </th>
                        <th class="style146" scope="col">
                            <asp:Button ID="Button19" runat="server" Text="Buy" onclick="Button17_Click" OnClientClick="_Popup('StockBuy.aspx')" />
                        </th>
                        <th class="style116" scope="col" colspan="4">
                            &nbsp;</th>
                        <th class="style147" scope="col">
                            <asp:Button ID="Button20" runat="server" Text="Sell" onclick="Button17_Click" OnClientClick="_Popup('StockSell.aspx')" />
                        </th>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor="White" class="style229" align="center">
                &nbsp;<table style="width: 61%; height: 79px;" align="center">
                    <tr class="style62">
                        <td class="style164">
                            &nbsp;</td>
                        <td class="style160">
                            TP</td>
                        <td class="style162">
                            SL</td>
                        <td class="style158">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style159">
                            APPL</td>
                        <td class="style161">
                            <input id="Text10" type="text" value="0" /></td>
                        <td class="style163">
                            <input id="Text14" type="text" value="0" /></td>
                        <td class="style225">
                            <asp:Button runat="server" Text="Edit" onclick="Button17_Click" ID="Button37" 
                                CssClass="style169" Height="18px" Width="38px" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style159">
                            GOOG</td>
                        <td class="style161">
                            <input id="Text11" type="text" value="0" /></td>
                        <td class="style163">
                            <input id="Text15" type="text" value="0" /></td>
                        <td class="style225">
                            <asp:Button runat="server" Text="Edit" onclick="Button17_Click" ID="Button36" 
                                CssClass="style169" Height="18px" Width="38px" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style159">
                            SSU.DE</td>
                        <td class="style161">
                            <input id="Text12" type="text" value="0" /></td>
                        <td class="style163">
                            <input id="Text16" type="text" value="0" /></td>
                        <td class="style225">
                            <asp:Button runat="server" Text="Edit" onclick="Button17_Click" ID="Button35" 
                                CssClass="style169" Height="18px" Width="38px" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style165">
                            YHOO</td>
                        <td class="style166">
                            <input id="Text13" type="text" value="0" /></td>
                        <td class="style167">
                            <input id="Text17" type="text" value="0" /></td>
                        <td class="style168">
                            <asp:Button runat="server" Text="Edit" onclick="Button17_Click" ID="Button34" 
                                CssClass="style169" Height="18px" Width="38px" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="style188">
                <table class="style212">
                    <tr class="style62">
                        <td class="style213">
                            Date</td>
                        <td class="style222">
                            Open</td>
                        <td class="style214">
                            High</td>
                        <td class="style214">
                            Low</td>
                        <td class="style214">
                            Closing</td>
                        <td class="style214">
                            Volume</td>
                        <td class="style220">
                            Adj Close*</td>
                    </tr>
                    <tr class="style62">
                        <td class="style218">
                            25 Sept 2012</td>
                        <td class="style223">
                            &nbsp;$30.36&nbsp;</td>
                        <td class="style219">
                            $30.94</td>
                        <td class="style219">
                            $30.26</td>
                        <td class="style219">
                            $30.78</td>
                        <td class="style219">
                            35,787,200</td>
                        <td class="style221">
                            37200</td>
                    </tr>
                </table>
                <asp:Button runat="server" Text="Buy" onclick="Button17_Click" 
                            OnClientClick="_Popup('StockBuy.aspx')" ID="Button38" />
                        </td>
            <td bgcolor="White" class="style230" align="center">
                <table border="1" align="center" 
                        style="height: 135px; width: 220px">
                  <tr class="style2">
                    <th scope="col" class="style191" colspan="3">TOP 5</th>
                  </tr>
                  <tr>
                    <th scope="row" class="style191">APPL</th>
                    <td class="style224">+1.89%<img alt="" class="style124" src="Images/SmallArrowUp.gif" /></td>
                    <td class="style231">
                        &nbsp;<asp:Button runat="server" Text="Buy" onclick="Button17_Click" 
                            OnClientClick="_Popup('StockBuy.aspx')" ID="Button25" />
                        &nbsp;<input id="Text5" type="text" /></td>
                  </tr>
                  <tr>
                    <th scope="row" class="style191">SEP</th>
                    <td class="style224"><span class="style88">+0.1%</span><img alt="" class="style197" 
                            src="Images/SmallArrowUp.gif" /><span class="style88"> </span></td>
                    <td class="style231">
                            <asp:Button runat="server" Text="Buy" onclick="Button17_Click" 
                            OnClientClick="_Popup('StockBuy.aspx')" ID="Button26" />
                        &nbsp;<input id="Text6" type="text" /></td>
                  </tr>
                  <tr>
                    <th scope="row" class="style191">DELL</th>
                    <td class="style224"><span class="style88">+0.1%</span><img alt="" class="style197" 
                            src="Images/SmallArrowUp.gif" /><span class="style88"> </span></td>
                    <td class="style231">
                            <asp:Button runat="server" Text="Buy" onclick="Button17_Click" 
                            OnClientClick="_Popup('StockBuy.aspx')" ID="Button27" />
                        &nbsp;<input id="Text7" type="text" /></td>
                  </tr>
                  <tr>
                    <th scope="row" class="style191">MANU</th>
                    <td class="style224"><span class="style88">+0.1%</span><img alt="" class="style197" 
                            src="Images/SmallArrowUp.gif" /><span class="style88"> </span></td>
                    <td class="style231">
                            <asp:Button runat="server" Text="Buy" onclick="Button17_Click" 
                            OnClientClick="_Popup('StockBuy.aspx')" ID="Button28" />
                        &nbsp;<input id="Text8" type="text" /></td>
                  </tr>
                  <tr>
                    <th scope="row" class="style191">ORCL</th>
                    <td class="style224"><span class="style88">+0.1%</span><img alt="" class="style197" 
                            src="Images/SmallArrowUp.gif" /><span class="style88"> </span></td>
                    <td class="style231">
                            <asp:Button runat="server" Text="Buy" onclick="Button17_Click" 
                            OnClientClick="_Popup('StockBuy.aspx')" ID="Button29" />
                        &nbsp;<input id="Text9" type="text" /></td>
                  </tr>
                </table>
            </td>
        </tr>
        </table>
</asp:Content>

